set(HEALTH_CLIENT_SOURCE_FILES
    "${CMAKE_CURRENT_SOURCE_DIR}/src/health_client.c" CACHE INTERNAL "")
set(HEALTH_CLIENT_INCLUDE_DIRS
    "${CMAKE_CURRENT_SOURCE_DIR}/include" CACHE INTERNAL "")

set(HEALTH_SERVER_SOURCE_FILES
    "${CMAKE_CURRENT_SOURCE_DIR}/src/health_server.c" CACHE INTERNAL "")
set(HEALTH_SERVER_INCLUDE_DIRS
    "${CMAKE_CURRENT_SOURCE_DIR}/include" CACHE INTERNAL "")

set(target_include_dirs
    ${HEALTH_CLIENT_INCLUDE_DIRS}
    ${HEALTH_SERVER_INCLUDE_DIRS}
    ${ACCESS_INCLUDE_DIRS}
    ${MESH_INCLUDE_DIRS}
    ${${SOFTDEVICE}_INCLUDE_DIRS}
    ${${PLATFORM}_INCLUDE_DIRS}
    ${${nRF5_SDK_VERSION}_INCLUDE_DIRS}
    ${CMAKE_SOURCE_DIR}/examples/templates)

add_pc_lint(health_${PLATFORM}
    "${HEALTH_CLIENT_SOURCE_FILES};${HEALTH_SERVER_SOURCE_FILES}"
    "${target_include_dirs}"
    "${${PLATFORM}_DEFINES};${${SOFTDEVICE}_DEFINES}")
